﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZR.DataCollection.Model;
using ZR.Model.Models.ProductionControl;

namespace ZR.DataCollection.SingleParameter
{
    public class CurrentOPInfo
    {
        private static readonly Lazy<CurrentOPInfo> _lazy = new Lazy<CurrentOPInfo>(() => new CurrentOPInfo());
        public static CurrentOPInfo Current => _lazy.Value;

        ///// <summary>
        ///// 产线配置详情
        ///// </summary>
        //public ProductionLine ProductionLine { get; set; }

        ///// <summary>
        ///// 产线班次配置
        ///// </summary>
        //public ProductionShift ProductionShift { get; set; }

        /// <summary>
        /// 上位机信息
        /// </summary>
        public ServerConfig? IndustrialComputerConfig { get; set; }

        /// <summary>
        /// 工位配置详情
        /// </summary>
        public List<WorkstationConfig> WorkStationConfig { get; set; }

        /// <summary>
        /// 扫码枪配置
        /// </summary>
        public List<ScannerConfig>? ScannerConfig { get; set; }
    }
}